package cn.edu.sdjzu.xg.eagle.entities;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

@Setter
@Getter
@NoArgsConstructor
public class Announcement {
    private Integer announcementId;
    private Integer teacherId;
    private Integer adminId;
    private String title;
    private String content;
    private String announcementType;
    private Date releaseTime;


    @Override
    public String toString() {
        return "Announcement{" +
                "announcementId=" + announcementId +
                ", teacherId=" + teacherId +
                ", adminId=" + adminId +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", announcementType='" + announcementType + '\'' +
                ", releaseTime=" + releaseTime +
                '}';
    }
}